Skip to content

Update CMake API version to 4.7#2009

Merged
dsnopek merged 1 commit into
godotengine:masterfrom
Angais:fix-cmake-api-version-47
Jun 28, 2026
Merged

Update CMake API version to 4.7#2009
dsnopek merged 1 commit into
godotengine:masterfrom
Angais:fix-cmake-api-version-47

Conversation

@Angais

@Angais Angais commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add 4.7 to the CMake GODOTCPP_API_VERSION choices
  • Treat 4.7 as the latest bundled API version
  • Keep older explicit versions using their versioned API JSON files

Fixes #2008

Checks

  • cmake --log-level=VERBOSE -S . -B ../work/cmake-api47-final -DGODOTCPP_API_VERSION=4.7
  • cmake --log-level=VERBOSE -S . -B ../work/cmake-default-final
  • cmake --log-level=VERBOSE -S . -B ../work/cmake-api46-final -DGODOTCPP_API_VERSION=4.6
  • git diff --check

@Angais Angais requested a review from a team as a code owner June 28, 2026 00:09
@Ivorforce Ivorforce requested a review from enetheru June 28, 2026 08:00
@Ivorforce Ivorforce added enhancement This is an enhancement on the current functionality cmake labels Jun 28, 2026
@dsnopek dsnopek added this to the 10.x milestone Jun 28, 2026

@dsnopek dsnopek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! The changes look good to me and worked in a quick test

This issue is my fault - I should have updated this in 5ffd70e

@dsnopek dsnopek added bug This has been identified as a bug and removed enhancement This is an enhancement on the current functionality labels Jun 28, 2026
@dsnopek dsnopek merged commit 7df95d6 into godotengine:master Jun 28, 2026
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This has been identified as a bug cmake

Projects

None yet

Development

Successfully merging this pull request may close these issues.

godotcpp.cmake still specifies GODOTCPP_LATEST_API_VERSION as 4.6

3 participants